package com.flyone.fuxiao.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.flyone.fuxiao.model.dto.note.NoteQueryRequest;
import com.flyone.fuxiao.model.dto.note.NoteSaveRequest;
import com.flyone.fuxiao.model.entity.UserNote;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author luoyifei
* @description 针对表【user_note(用户笔记表)】的数据库操作Service
* @createDate 2024-04-19 17:08:55
*/
public interface UserNoteService extends IService<UserNote> {

    long saveWrite(NoteSaveRequest diarySaveRequest, Long userId);


    QueryWrapper<UserNote> getQueryWrapper(NoteQueryRequest noteQueryRequest);
}
